$OpenBSD: align-pool_c,v 1.1 2007/07/25 22:27:01 rui Exp $
--- pool.c.orig	Mon May 28 07:12:52 2007
+++ pool.c	Wed Jul 18 11:55:09 2007
@@ -92,7 +92,7 @@ pool_alloc_size(struct pool *pool, size_t size)
 			/* We want to use the last one as return */
 			if (i < max - 1) {
 				SLIST_INSERT_HEAD(&pool->entries, entry, next);
-				p += sizeof(struct pool_entry) + size;
+				p += ALIGN(sizeof(struct pool_entry) + size);
 			}
 		}
 	}
